package cn.iocoder.an.module.mold.controller.admin.upkeepcategory.vo;

import cn.iocoder.an.framework.excel.core.annotations.DictFormat;
import cn.iocoder.an.framework.excel.core.convert.DictConvert;
import com.fhs.core.trans.vo.VO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.util.*;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 保养类型 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UpkeepCategoryRespVO implements VO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "7418")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "启用状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("启用状态")
    private Integer status;

    @Schema(description = "编码")
    @ExcelProperty("编码")
    private String code;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "核算方式", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty(value = "核算方式", converter = DictConvert.class)
    @DictFormat("mold_upkeep_category_account_method")
    private Integer accountMethod;

    @Schema(description = "保养周期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("保养周期")
    private Long upkeepPeriod;

    @Schema(description = "制单周期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("制单周期")
    private Long tobePeriod;

    @Schema(description = "提醒周期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("提醒周期")
    private Long reminderPeriod;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String description;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
